<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
*/
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'get';
$return=array();
if($_RQ['op']=='get'){
	if($_RQ['postdata']){
		$post=get_postdata();
		uni_setting('cash',$post);
		exi('设置成功！');
	}
	$setting=uni_setting('cash');
	$return['item']=$setting;
	$return['htmls']=array(
		'type'=>'edit',
		'edit'=>array(
			array('type'=>'tip','title'=>'<red>提醒：</red>:提现的，需要移步支付参数设置--微信支付--上传证书才行，否则无法提醒到零钱！'),
			array('type'=>'switch','title'=>'是否开启会员余额提现','name'=>'open'),
			array('type'=>'string','title'=>'最低提现金额','name'=>'min','help'=>'会员申请提现金额必须大于此值'),
			array('type'=>'switch','title'=>'提现是否需要审核','name'=>'check'),
			array('type'=>'string','title'=>'提现手续费','name'=>'percent','help'=>'填写手续费费率。例如，填写1表示手续费为1%。提现100元需要手续费1元'),
			
		),
	);
	exi($return);
}
	